<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
    <caption><h3>用户登录</h3></caption>
<s:form action="login">


用户名：<input type="text" maxlength="50" value="<s:property value="userName"/>" name="userName" /><br/>
密个码：<input type="password"  name="password" maxlength="16"/><br/>
验证码：<input type="text" name="identifyingCode" maxlength="4"/><img border="0" src="<c:url value='v/session/showIdentifyingCode'/>"/>
<br/><input type="submit" value="登录"/><input type="reset" value="重填" />

</s:form>

<s:actionerror/>
<s:fielderror/>

</body>
</html>